package cn.ibizlab.odoo.core.odoo_hr.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_hr.domain.Hr_holidays_summary_dept;
import cn.ibizlab.odoo.core.odoo_hr.filter.Hr_holidays_summary_deptSearchContext;

/**
 * 实体[Hr_holidays_summary_dept] 服务对象接口
 */

public interface IHr_holidays_summary_deptService{
     void createBatch(List<Hr_holidays_summary_dept> hr_holidays_summary_depts, int batchSize) ;
     void updateBatch(List<Hr_holidays_summary_dept> hr_holidays_summary_depts, int batchSize) ;
     boolean create(Hr_holidays_summary_dept hr_holidays_summary_dept) ;
     boolean remove(Integer id) ;
     boolean update(Hr_holidays_summary_dept hr_holidays_summary_dept) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     Hr_holidays_summary_dept get(Integer id) ;
     Hr_holidays_summary_dept get(Hr_holidays_summary_dept hr_holidays_summary_dept) ;

    /**
     * 查询集合 默认查询
     */
    Page<Hr_holidays_summary_dept> searchDefault(Hr_holidays_summary_deptSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Hr_holidays_summary_dept> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Hr_holidays_summary_dept> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Hr_holidays_summary_dept convert2Domain(cn.ibizlab.odoo.core.client.model.Ihr_holidays_summary_dept model ,Hr_holidays_summary_dept domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Ihr_holidays_summary_dept convert2Model(Hr_holidays_summary_dept domain , cn.ibizlab.odoo.core.client.model.Ihr_holidays_summary_dept model);

}
